package hhj.demo.lbs.dao;

import java.util.List;
import java.util.Map;

import hhj.demo.lbs.bean.Location;

public interface LocationDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(Location record);

    int insertSelective(Location record);

    Location selectByPrimaryKey(Integer id);

    List<Location> selectByWhereEntity(Location record);

    int updateByPrimaryKeySelective(Location record);

    int updateByPrimaryKey(Location record);
    
    List<Location> selectNearLbs(Map<String, Object> map);
    
    List<Location> selectNearLbsNoDistance(Map<String, Object> map);
}